﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Final.App_Code;

namespace Final
{
    public partial class email_print : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            StudentSubject mc = new StudentSubject();

            List<StudentSubject> mcList = mc.RetrieveDetails();
            for (int i = 0; i < mcList.Count; i++)
            {
                int s = Convert.ToInt32(lbl_contact.Text);
                lbl_admin.Text = mcList[i].Adminno;
                lbl_name.Text = mcList[i].Name;
                lbl_ccourse.Text = mcList[i].Coursecode;
                lbl_course.Text = mcList[i].Coursename;
                s = mcList[i].Contact;
                lbl_email.Text = mcList[i].Email;
                lbl_current.Text = mcList[i].Module;
                lbl_new.Text = mcList[i].Subjectname;
                lbl_desc.Text = mcList[i].Subjectdesc;
            }
        }

        protected void Button2_Click(object sender, EventArgs e)
        {

        }
    }
}